home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c-part2 / 14553 < prev    next >
Mailbox/MIME Entity  |  1996-08-05  |  1.3 KB

open in: MacOS 8.1     |     Win98     |     DOS

browse contents    |     view JSON data     |     view as text


This file was processed as: Mailbox/MIME Entity (archive/mbox).

ConfidenceProgramDetectionMatch TypeSupport
100% dexvert Newsgroup Content (archive/news) magic Supported
100% dexvert Mailbox/MIME Entity (archive/mbox) magic Supported
100% dexvert Internet Message Format (text/imf) magic Supported
1% dexvert Text File (text/txt) fallback Supported
100% file news, ASCII text default
100% checkBytes Printable ASCII default
100% dexmagic PrintFox/Pagefox WEAK default
100% perlTextCheck Likely Text (Perl) default
100% siegfried fmt/950 MIME Email (1.0) default
100% detectItEasy Format: plain text[LF] default (weak)
100% xdgMime message/news default



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 50 61 74 68 3a 20 72 65 | 64 2e 77 65 65 67 2e 75 |Path: re|d.weeg.u|
|00000010| 69 6f 77 61 2e 65 64 75 | 21 72 6f 62 69 6e 73 6f |iowa.edu|!robinso|
|00000020| 6e 0a 46 72 6f 6d 3a 20 | 54 68 65 20 41 6d 6f 72 |n.From: |The Amor|
|00000030| 70 68 6f 75 73 20 4d 61 | 73 73 20 3c 72 6f 62 69 |phous Ma|ss <robi|
|00000040| 6e 73 6f 6e 40 62 6c 75 | 65 2e 77 65 65 67 2e 75 |nson@blu|e.weeg.u|
|00000050| 69 6f 77 61 2e 65 64 75 | 3e 0a 4e 65 77 73 67 72 |iowa.edu|>.Newsgr|
|00000060| 6f 75 70 73 3a 20 63 6f | 6d 70 2e 6c 61 6e 67 2e |oups: co|mp.lang.|
|00000070| 63 0a 53 75 62 6a 65 63 | 74 3a 20 52 65 3a 20 48 |c.Subjec|t: Re: H|
|00000080| 6f 77 20 74 6f 20 64 65 | 74 65 63 74 20 45 4f 46 |ow to de|tect EOF|
|00000090| 3f 2f 66 69 6c 65 70 6f | 69 6e 74 65 72 20 70 72 |?/filepo|inter pr|
|000000a0| 6f 62 6c 65 6d 2e 0a 44 | 61 74 65 3a 20 4d 6f 6e |oblem..D|ate: Mon|
|000000b0| 2c 20 31 35 20 41 70 72 | 20 31 39 39 36 20 31 34 |, 15 Apr| 1996 14|
|000000c0| 3a 32 34 3a 34 33 20 2d | 30 35 30 30 0a 4f 72 67 |:24:43 -|0500.Org|
|000000d0| 61 6e 69 7a 61 74 69 6f | 6e 3a 20 55 6e 69 76 65 |anizatio|n: Unive|
|000000e0| 72 73 69 74 79 20 6f 66 | 20 49 6f 77 61 2c 20 49 |rsity of| Iowa, I|
|000000f0| 6f 77 61 20 43 69 74 79 | 2c 20 49 41 2c 20 55 53 |owa City|, IA, US|
|00000100| 41 0a 44 69 73 74 72 69 | 62 75 74 69 6f 6e 3a 20 |A.Distri|bution: |
|00000110| 77 6f 72 6c 64 0a 4d 65 | 73 73 61 67 65 2d 49 44 |world.Me|ssage-ID|
|00000120| 3a 20 3c 50 69 6e 65 2e | 41 33 32 2e 33 2e 39 31 |: <Pine.|A32.3.91|
|00000130| 2e 39 36 30 34 31 35 31 | 34 32 33 34 37 2e 39 35 |.9604151|42347.95|
|00000140| 33 33 35 41 2d 31 30 30 | 30 30 30 40 72 65 64 2e |335A-100|000@red.|
|00000150| 77 65 65 67 2e 75 69 6f | 77 61 2e 65 64 75 3e 0a |weeg.uio|wa.edu>.|
|00000160| 52 65 66 65 72 65 6e 63 | 65 73 3a 20 3c 33 31 36 |Referenc|es: <316|
|00000170| 46 38 39 33 32 2e 32 42 | 41 46 40 77 77 77 2e 70 |F8932.2B|AF@www.p|
|00000180| 61 72 74 69 6f 2e 66 69 | 3e 20 3c 44 70 76 34 31 |artio.fi|> <Dpv41|
|00000190| 33 2e 4c 74 43 40 65 73 | 6b 69 6d 6f 2e 63 6f 6d |3.LtC@es|kimo.com|
|000001a0| 3e 0a 4e 4e 54 50 2d 50 | 6f 73 74 69 6e 67 2d 48 |>.NNTP-P|osting-H|
|000001b0| 6f 73 74 3a 20 72 65 64 | 2e 77 65 65 67 2e 75 69 |ost: red|.weeg.ui|
|000001c0| 6f 77 61 2e 65 64 75 0a | 4d 69 6d 65 2d 56 65 72 |owa.edu.|Mime-Ver|
|000001d0| 73 69 6f 6e 3a 20 31 2e | 30 0a 43 6f 6e 74 65 6e |sion: 1.|0.Conten|
|000001e0| 74 2d 54 79 70 65 3a 20 | 54 45 58 54 2f 50 4c 41 |t-Type: |TEXT/PLA|
|000001f0| 49 4e 3b 20 63 68 61 72 | 73 65 74 3d 55 53 2d 41 |IN; char|set=US-A|
|00000200| 53 43 49 49 0a 58 2d 53 | 65 6e 64 65 72 3a 20 72 |SCII.X-S|ender: r|
|00000210| 6f 62 69 6e 73 6f 6e 40 | 72 65 64 2e 77 65 65 67 |obinson@|red.weeg|
|00000220| 2e 75 69 6f 77 61 2e 65 | 64 75 0a 49 6e 2d 52 65 |.uiowa.e|du.In-Re|
|00000230| 70 6c 79 2d 54 6f 3a 20 | 3c 44 70 76 34 31 33 2e |ply-To: |<Dpv413.|
|00000240| 4c 74 43 40 65 73 6b 69 | 6d 6f 2e 63 6f 6d 3e 20 |LtC@eski|mo.com> |
|00000250| 0a 0a 4f 6e 20 53 75 6e | 2c 20 31 34 20 41 70 72 |..On Sun|, 14 Apr|
|00000260| 20 31 39 39 36 2c 20 53 | 74 65 76 65 20 53 75 6d | 1996, S|teve Sum|
|00000270| 6d 69 74 20 77 72 6f 74 | 65 3a 0a 0a 3e 20 66 73 |mit wrot|e:..> fs|
|00000280| 63 61 6e 66 28 29 20 6e | 65 76 65 72 20 72 65 74 |canf() n|ever ret|
|00000290| 75 72 6e 73 20 70 6f 69 | 6e 74 65 72 73 2c 20 73 |urns poi|nters, s|
|000002a0| 6f 20 69 74 20 63 61 6e | 27 74 20 72 65 74 75 72 |o it can|'t retur|
|000002b0| 6e 20 4e 55 4c 4c 2e 0a | 3e 20 49 74 20 77 69 6c |n NULL..|> It wil|
|000002c0| 6c 20 72 65 74 75 72 6e | 20 45 4f 46 20 61 74 20 |l return| EOF at |
|000002d0| 65 6e 64 2d 6f 66 2d 66 | 69 6c 65 2c 20 61 73 20 |end-of-f|ile, as |
|000002e0| 6c 6f 6e 67 20 61 73 20 | 6e 6f 74 68 69 6e 67 20 |long as |nothing |
|000002f0| 77 65 69 72 64 20 69 73 | 0a 3e 20 67 6f 69 6e 67 |weird is|.> going|
|00000300| 20 6f 6e 2e 20 20 42 75 | 74 20 77 65 69 72 64 20 | on. Bu|t weird |
|00000310| 74 68 69 6e 67 73 20 64 | 6f 20 67 6f 20 6f 6e 20 |things d|o go on |
|00000320| 77 69 74 68 20 73 63 61 | 6e 66 2e 20 20 49 66 20 |with sca|nf. If |
|00000330| 79 6f 75 27 72 65 0a 3e | 20 72 65 61 64 69 6e 67 |you're.>| reading|
|00000340| 20 6c 69 6e 65 73 2c 20 | 61 20 6c 69 6e 65 2d 62 | lines, |a line-b|
|00000350| 61 73 65 64 20 69 6e 70 | 75 74 20 66 75 6e 63 74 |ased inp|ut funct|
|00000360| 69 6f 6e 20 73 75 63 68 | 20 61 73 20 66 73 63 61 |ion such| as fsca|
|00000370| 6e 66 20 69 73 0a 3e 20 | 75 73 75 61 6c 6c 79 20 |nf is.> |usually |
|00000380| 61 20 6d 75 63 68 20 62 | 65 74 74 65 72 20 63 68 |a much b|etter ch|
|00000390| 6f 69 63 65 2e 20 20 20 | 20 20 20 20 20 20 20 20 |oice. | |
|000003a0| 20 20 20 20 20 20 20 20 | 20 20 20 5e 5e 5e 5e 5e | | ^^^^^|
|000003b0| 5e 0a 0a 20 20 44 69 64 | 20 79 6f 75 20 6d 65 61 |^.. Did| you mea|
|000003c0| 6e 20 66 67 65 74 73 28 | 29 3f 0a 0a 2d 2d 0a 4a |n fgets(|)?..--.J|
|000003d0| 61 6d 65 73 20 52 6f 62 | 69 6e 73 6f 6e 20 20 20 |ames Rob|inson |
|000003e0| 20 20 20 20 20 20 20 20 | 20 22 42 65 63 61 75 73 | | "Becaus|
|000003f0| 65 20 77 65 20 61 72 65 | 20 72 65 74 75 72 6e 69 |e we are| returni|
|00000400| 6e 67 20 61 20 63 6f 70 | 79 20 66 6f 72 20 70 6f |ng a cop|y for po|
|00000410| 73 74 66 69 78 20 2b 2b | 20 0a 6a 61 6d 65 73 2d |stfix ++| .james-|
|00000420| 72 6f 62 69 6e 73 6f 6e | 40 75 69 6f 77 61 2e 65 |robinson|@uiowa.e|
|00000430| 64 75 20 20 65 78 70 72 | 65 73 73 69 6f 6e 73 2c |du expr|essions,|
|00000440| 20 73 74 61 74 65 6d 65 | 6e 74 73 20 73 75 63 68 | stateme|nts such|
|00000450| 20 61 73 20 28 63 2b 2b | 29 2b 2b 3b 20 77 6f 6e | as (c++|)++; won|
|00000460| 27 74 0a 72 6f 62 69 6e | 73 6f 6e 40 63 73 2e 75 |'t.robin|son@cs.u|
|00000470| 69 6f 77 61 2e 65 64 75 | 20 20 20 20 20 77 6f 72 |iowa.edu| wor|
|00000480| 6b 20 61 73 20 65 78 70 | 65 63 74 65 64 2e 22 20 |k as exp|ected." |
|00000490| 20 20 20 20 20 20 20 20 | 20 20 20 2d 2d 20 57 65 | | -- We|
|000004a0| 69 73 6b 61 6d 70 20 26 | 20 46 6c 61 6d 69 67 2c |iskamp &| Flamig,|
|000004b0| 0a 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |. | |
|000004c0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000004d0| 20 20 20 20 20 20 20 20 | 20 20 20 20 5f 54 68 65 | | _The|
|000004e0| 5f 43 6f 6d 70 6c 65 74 | 65 5f 43 2b 2b 5f 50 72 |_Complet|e_C++_Pr|
|000004f0| 69 6d 65 72 5f 2c 20 32 | 6e 64 20 65 64 2e 0a 0a |imer_, 2|nd ed...|
|00000500| 0a 0a | |.. | |
+--------+-------------------------+-------------------------+--------+--------+